//
//  WBCommon.swift
//  weibo
//
//  Created by 胡古古 on 2017/6/7.
//  Copyright © 2017年 hugugu. All rights reserved.
//

import UIKit


//  点击删除删除的通知
let ClickDeleteButtonNotificationName = "ClickDeleteButtonNotificationName"
// 点击表情按钮发送的通知
let ClickEmotionButtonNotificationName = "ClickEmotionButtonNotificationName"
// 切换根控制器通知
let SwitchRootVCNotificationName = "SwitchRootVCNotificationName"
// 首页cell的重用标记
let HomeCell_ID = "HomeCell_ID"
// 首页cell的控件距离
let HomeCellMargin: CGFloat = 10
// 当前屏幕宽度
let ScreenWidth = UIScreen.main.bounds.size.width
// 当前屏幕高度
let ScreenHeight = UIScreen.main.bounds.size.height
// 首页配图cell的重用标记
let HomePictureViewCell_id = "HomePictureViewCell_id"
// ComposeCell的重用标记
let composeCell_id = "composeCell_id"
// 表情键盘Cell的重用标记
let EmoticonKeyBoardCell_id = "EmoticonKeyBoardCell_id"
//  创建随机颜色
func RandomColor() -> UIColor {
    //  创建随机色的值
    let red = CGFloat(arc4random_uniform(256)) / 255.0
    let green = CGFloat(arc4random_uniform(256)) / 255.0
    let blue = CGFloat(arc4random_uniform(256)) / 255.0
    
    return UIColor(red: red, green: green, blue: blue, alpha: 1)
}
